﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Wimm.Common.Entities
{
    public class Icon:BaseEntity
    {
        public const int DEFAULT_HEIGHT = 200;
        public const int DEFAULT_WIDTH  = 200;

        public Icon()
        {
            //For SQL provider usage only
        }

        public Icon(String fileName)
        {
            this.FileName = fileName;

            this.Height = DEFAULT_HEIGHT;
            this.Width  = DEFAULT_WIDTH;
        }

        public String FileName { get; protected set; }
        public int Width { get; protected set; }
        public int Height { get; protected set; }
    }
}
